package com.bjc.principle.observer;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: DesignPattern
 * @description: 借款方
 * @author: bjc
 * @create: 2021-01-04 13:28
 */
public interface Debit {

    //借钱
    void borrow(Credit credit);

    //还钱
    void notifyCredits();
}
